package com.hyc.algorithm.Node;

/**
 * @projectName: DataStructure
 * @package: com.hyc.algorithm.Node
 * @className: Node
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2022/2/27 19:44
 * @version: 1.0
 */
public class Node {
    public int val;
    public Node next;

    public Node(int val) {
        this.val = val;
    }

    @Override
    public String toString() {
        return "Node{" +
                "val=" + val +
                ", next=" + next +
                '}';
    }
}
